<div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<?php require 'sidebar.php';?>
		
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						系统检测Javascript禁用了，您需要取消禁用，或升级浏览器。
					</div>
				</div>
			</noscript>
			
			<div class="clear"></div> <!-- End .clear -->
			
			<div class="content-box"><!-- Start Content Box -->
				
				<div class="content-box-header">
					
					<h3>登录日志列表</h3>
					
					<ul class="content-box-tabs">
						<li><a href="#tab1" class="default-tab">列表</a></li> <!-- href must be unique and match the id of target div -->						
					</ul>
					
					<div class="clear"></div>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab" id="tab1"> <!-- This is the target div. id must match the href of this div's tab -->

						<table>
							
							<thead>
								<tr>
								   <th>ID</th>
								   <th>用户名</th>
								   <th>登录IP</th>
								   <th>登录时间</th>
								   <th>登录地</th>
								</tr>
								
							</thead>
						 
						 
							<tbody>
							<?php if($values){ ?>
							<?php foreach ($values as $a){?>
								<tr id="tr_<?php echo $a->id?>">
									<td><?php echo $a->id ?></td>
									<td><?php echo $a->username?></td>
									<td><?php echo $a->loginip?></td>
									<td><?php echo $a->createtime?></td>									
									<td><?php echo anchor('http://www.ip138.com/ips138.asp?ip='.$a->loginip.'&action=2', '查询', array('target'=>'_blank')); ;?></td>																				 									</td>
								</tr>
							<?php }
								   }?>
								
							</tbody>
							
						</table>
						
					</div> <!-- End #tab1 -->
					<div class="pagination">
						<?php echo $pageinfo?>
					</div>
					<div class="clear"></div>
					       
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="content-box column-left">
				
				<div class="content-box-header">
					
					<h3>功能介绍</h3>
					
				</div> <!-- End .content-box-header -->
				
				<div class="content-box-content">
					
					<div class="tab-content default-tab">
					
						<h4>登录日志</h4>
						<p>
						可以察看登录历史。如果有异样请关注。
						</p>
						
					</div> <!-- End #tab3 -->        
					
				</div> <!-- End .content-box-content -->
				
			</div> <!-- End .content-box -->
			
			<div class="clear"></div>
			
			
			
			<?php require_once 'copy.php';?>
			
		</div> <!-- End #main-content -->
		
	</div>